﻿<Window x:Class="IJZ.SQLServer.StoredProcedureHelper.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="480" Width="640">
    <Grid>
        <Grid VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="108"/>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="90"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="100"/>
                <RowDefinition Height="70"/>
                <RowDefinition Height="30"/>
                <RowDefinition Height="30"/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <TextBlock Name="tbMessage" HorizontalAlignment="Stretch" TextWrapping="Wrap" Text="" VerticalAlignment="Stretch" Grid.Row="0" Grid.Column="1"/>

            <TextBlock HorizontalAlignment="Stretch" TextWrapping="Wrap" Text="Connection String" VerticalAlignment="Stretch" Grid.Row="1"/>
            <TextBox Name="txtConnection" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Stretch" TextWrapping="Wrap" Text="" VerticalAlignment="Stretch" />
            <StackPanel Grid.Column="2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Row="1">
                <Button Name="btnLoadData" Content="Load Data" Click="btnLoadData_Click" />
                <Button Name="btnGenerateScript" Content="Generate Script" Click="btnGenerateScript_Click" />
            </StackPanel>

            <TextBlock HorizontalAlignment="Stretch" TextWrapping="Wrap" Text="Author Name" VerticalAlignment="Stretch" Grid.Row="2"/>
            <TextBox Name="txtAuthorName" Grid.Column="1" Grid.Row="2" HorizontalAlignment="Stretch" TextWrapping="Wrap" Text="Imran Javed Zia" VerticalAlignment="Stretch" />

            <TextBlock HorizontalAlignment="Stretch" TextWrapping="Wrap" Text="Stored Procedure Prefix" VerticalAlignment="Stretch" Grid.Row="3"/>
            <TextBox Name="txtPrefix" Grid.Column="1" Grid.Row="3" HorizontalAlignment="Stretch" TextWrapping="Wrap" Text="sp" VerticalAlignment="Stretch" />

            <TextBox Name="txtStoredProcedures" Grid.Column="1" Grid.Row="4" HorizontalAlignment="Stretch" TextWrapping="Wrap" Text="" VerticalAlignment="Stretch"  />
        </Grid>

    </Grid>
</Window>
